package com.cjjd.c.bean;

import java.io.Serializable;
import java.util.List;

/**
 * ----------------------------------
 * Created by xyd on 2017/9/18.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class CheckOutBean extends BaseBean {
    /**
     * arriveTime :
     * breakfastTypeName : 2
     * checkInDate : 2017-09-12
     * checkInDayNum : 1
     * checkOutDate : 2017-09-13
     * costMoney : 0
     * depositMoney : 100
     * hotelName : 全网测试商户2017
     * leftDepositMoney : 0
     * liveMan : RxAndroid
     * liveManIdCard : 111111111111111
     * liveManMobile : 18502765409
     * orderId : INTENT201709110003
     * orderMainUuid : 2b93ae2cc7004471923bc81ef8c90003
     * refundType : 1
     * refundTypeName : 支付宝支付
     * roomNum : 1
     * roomTypeName : 单人间
     */


    public Order order;

    public class Order extends BaseBean {

        //    orderMainUuid	String	订单主表uuid
        //    orderId	String	订单号
        //    hotelName	String	酒店名称
        //    roomTypeName	String	房型名称
        //    breakfastTypeName	String	早餐形式
        //    checkInDayNum	Int	入住天数
        //    roomNums	Int	房间数
        //    liveMan	String	入住人
        //    liveManMobile	String	入住人手机号
        //    liveManIdCard	String	入住人身份证
        //    checkInDate	String	到达时间
        //    checkOutDate	String	离开时间
        //    depositMoney	Double	押金
        //    leftDepositMoney	Double	剩余押金
        //    costMoney	Double	消费金额
        //    invoiceInfo	String	发票信息
        //    refundType	String	退款方式（1：支付宝；2：微信）
        //    refundTypeName	String	退款方式名称

        public String arriveTime;
        public String breakfastTypeName;
        public String checkInDate;
        public String checkInDayNum;
        public String checkOutDate;
        public String costMoney;                // 总消费金额
        public String depositMoney;
        public List<CheckOutDetail> details;
        public String hotelName;
        public String hotelMobile;
        public String invoiceInfo;              // 发票信息
        public List<OrderCostDetailModel> orderCosts;               // 扫码消费集合
        public String leftDepositMoney;
        public String liveMan;
        public String liveManIdCard;
        public String liveManMobile;
        public String orderDetailUuid;
        public String orderId;
        public String orderMainUuid;
        public String refundMoney;
        public String refundType;
        public String refundTypeName;
        public String roomNum;
        public String roomTypeName;

        public class OrderCostDetailModel implements Serializable{
            // productName	String	消费内容
            // costMoney	Double	消费金额
            // payType	String	支付方式（1：支付宝支付；2：微信支付）
            // payTypeName	String	支付方式（1：支付宝支付；2：微信支付）

            public String costTypeName;      // 消费类型
            public String productName;      // 消费内容
            public String costMoney;        // 消费金额
            public String payType;          // 支付方式（1：支付宝支付；2：微信支付）
            public String payTypeName;      // 支付方式（1：支付宝支付；2：微信支付）
        }

        // 消费明细信息
        public class CheckOutDetail implements Serializable{

            /**
             * basePrice : 0.003
             * checkEmployeeUuid :
             * checkInDate : 2017-09-18
             * checkOutDate : 2017-09-20
             * checkState :
             * chekDayNum : 2
             * chekInIDCard : 149663452379654236
             * chekInName : 张三
             * costTotalMoney : 0
             * costs : []
             * delFlag : 1
             * depositMoney : 0.004
             * finalPrice : 0
             * freeMoney : 0
             * mapCondition : {}
             * opeTime : 2017-09-29 10:27:51
             * oper :
             * orderMainUuid : 41ae80a9cead48f0889896426baa17d7
             * passangerUuid : b3b0ab6937db41dda53bc6b69107fd6f
             * payMoney : 0
             * promotionPrice : 0
             * roomNos : 1909
             * roomNum : 0
             * roomType : 07d78556b07d453098c9e1cefb7dad53
             * roomTypeName : null
             * sortName : uuid
             * sortType : desc
             * state :
             * stateName : null
             * uuid : 168232df37524135bd616c594c1749ad
             */
            public String basePrice;
            public String checkEmployeeUuid;
            public String checkInDate;
            public String checkOutDate;
            public String checkState;
            public String chekDayNum;
            public String chekInIDCard;
            public String chekInName;
            public String costTotalMoney;
            public String delFlag;
            public String depositMoney;
            public String finalPrice;
            public String freeMoney;
            public String opeTime;
            public String oper;
            public String orderMainUuid;
            public String passangerUuid;
            public String payMoney;
            public String promotionPrice;
            public String roomNos;
            public String roomNum;
            public String roomType;
            public String roomTypeName;
            public String sortName;
            public String sortType;
            public String state;
            public String stateName;
            public String uuid;
            public List<Costs> costs;

            public class Costs extends BaseBean {

                // productName	String	消费内容
                // costNum	Int	消费数量
                // productUnit	String	单位
                // costMoney	Double	消费金额

                public String productName;
                public String costNum;
                public String productUnit;
                public String costMoney;
            }
        }

    }


}
